// 把请求数据放在一个文件里面  然后每个变量保存着这次请求的promiss  然后输出这些promiss
// 到页面中用 Promise.resolve方法来解析axios返回的 data 
// 用户活动列表
// 由于axios里面的this指向 axios对象 所以  需要在调用axios前保存vue的this指向
// 先用Promise.resolve解析 promiss对象  然后用这个对象传入result参数 就能得到这次tttp请求回来的数据

const test='http://activity.ccnf.com/';  // 测试地址

const testli='http://activityld.ccnf.com/'; //lidong 测试地址

const line=null; //线上地址
const localhost='http://192.168.1.108:8080'; //lidong 本地地址  
const url=testli;  //使用地址

const urlright=test;
export const FindActivites_api = url+'/api/Activitiy/FindActivites';  //活动详情
export const UserSearchProduct=url+'/api/Activitiy/UserSearchProduct' //用户活动分页

export const SearchProduct=url+'/api/Activitiy/SearchProduct' //展商活动分页

export const AddActivities = url+'/api/Activitiy/AddActivities';   //添加活动

export const UpdateActivitiesApplyStatus=url+'/api/Activitiy/UpdateActivitiesApplyStatus' //修改活动发布状态 开始或停止报名
export const DeleteActivities=url+'/api/Activitiy/DeleteActivities'  //删除活动

export const UpdateActivitiesPublishStatus=url+'/api/Activitiy/UpdateActivitiesPublishStatus'  //修改活动发布状态  发布未发布
export const SearchProductActivityComment=url+'/api/ActivityComment/SearchProductActivityComment'  //查询活动评论
export const RewardText_api=url+'/api/Activitiy/RewardText'  //奖励列表
export const AddActivityComment_api=url+'/api/ActivityComment/AddActivityComment'; //添加活动评论
export const GetInvitationAbility_api=url+'/api/Activitiy/GetInvitationAbility'; //邀约能力
export const user_event_api = 'http://g.cn'; //    用户活动
export const my_ticket_api = 'http://g.cn'; // 我的票卷
export const exhibitor_event_manege = 'http://g.cn'; // 展商活动管理

export const GetSiteString=url+'/api/Activitiy/GetSiteString'; //活动地址

export const ApplyPreVerify_api = urlright+'api/Application/ApplyPreVerify';//活动报名验证
export const user_apply_api = urlright+'api/Application/GetActivityQuestions';//通过活动id获取报名问题
export const GetApplyInfo_api = urlright+'/api/Application/GetApplyInfo'; //获取用户活动详情
export const ApproveApplications_api = urlright+'api/Application/ApproveApplications';//报名一键全部审核
export const ApproveApplication_api = urlright+'api/Application/ApproveApplication';//报名单个审核
export const ExhibitorsFocusAudience_api = urlright+'api/Application/ExhibitorsFocusAudience';//展商关注用户
export const ExhibitorsUnfollowAudience_api = urlright+'api/Application/ExhibitorsUnfollowAudience';//展商取消关注用户
export const ApplyForActivity_api = urlright+'API/Application/ApplyForActivity';//活动报名
export const GetPeopleSummary_api = urlright+'api/Application/GetPeopleSummary';//查看活动报名/入场/签到人数
export const AllowSignIn_api = urlright+'api/Application/AllowSignIn';//获取报名人详情列表

export const GetApplierList_api = urlright+'api/Application/GetApplierList'; // 获取报名人详情列表
export const UserSearchProduct_api = testli+'api/Activitiy/UserSearchProduct'; // 用户活动分页
export const ActivityCheckIn_api = urlright+'api/SignIn/ActivityCheckIn';//签到用户扫展商